package io.renren.modules.lucky.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.lucky.entity.AppGoodsInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * app端-商品-详情信息
 * 
 * @author chenshun
 * @email chenchen@ashacker.com
 * @date 2019-08-31 20:58:38
 */
@Mapper
public interface AppGoodsInfoDao extends BaseMapper<AppGoodsInfoEntity> {

    List<AppGoodsInfoEntity> queryGoodsListByDay(
            @Param("goodsFlag") int goodsFlag, @Param("startTime") String startTime, @Param("endTime") String endTime);

    List<AppGoodsInfoEntity> queryPageForMyGoods(@Param("goodsFlag") int goodsFlag, @Param("userId") int userId,
                                                 @Param("startPage") int startPage, @Param("pageSize") int pageSize);

}
